$OpenBSD: patch-ui_devmgr4_py,v 1.13 2015/02/05 17:34:33 ajacoutot Exp $
--- ui/devmgr4.py.orig	Thu Jan 29 13:20:22 2015
+++ ui/devmgr4.py	Thu Feb  5 16:41:34 2015
@@ -1226,7 +1226,7 @@ class DevMgr4(DevMgr4_base):
             opt_plugin = d.plugin == PLUGIN_OPTIONAL
 
             hplip_conf = ConfigParser.ConfigParser()
-            fp = open("/etc/hp/hplip.conf", "r")
+            fp = open("${SYSCONFDIR}/hp/hplip.conf", "r")
             hplip_conf.readfp(fp)
             fp.close()
 
@@ -2842,7 +2842,7 @@ class DevMgr4(DevMgr4_base):
         if utils.which('hp-setup'):
             cmd = 'hp-setup -u'
         else:
-            cmd = 'python ./setup.py --gui'
+            cmd = '${MODPY_BIN} ./setup.py --gui'
 
         log.debug(cmd)
         utils.run(cmd)
